package com.yeyks.vip.dal.dao;

import com.yeyks.common.dto.MemberCardEnableOrderDTO;
import com.yeyks.common.dto.member.MemberCardTsOrderDTO;
import com.yeyks.common.param.MemberCardEnableOrderParam;
import com.yeyks.common.param.member.MemberCardTsOrderQueryParam;
import com.yeyks.vip.dal.domain.MemberCardEnableOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeyks.vip.result.MiniCardWithdrawalOrderCheckResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * vip卡支付订单表 Mapper 接口
 * </p>
 *
 * @author yun
 * @since 2019-08-07
 */
public interface MemberCardEnableOrderMapper extends BaseMapper<MemberCardEnableOrder> {

    /**
     * 分页查询支付订单
     * @param param 输入参数
     * @return 返回结果信息
     */
    List<MemberCardEnableOrderDTO> selectPageByParam(@Param("param") MemberCardEnableOrderParam param);

    List<MemberCardEnableOrderDTO> selectMyList(Map<String, Object> paramMap);

    List<MiniCardWithdrawalOrderCheckResult> periodOrder(Map<String, Object> paramMap);

    /**
     * 查询推手卡订单列表信息
     * @param map 输入参数
     * @return 返回结果
     */
    List<MemberCardTsOrderDTO> queryTsPage(Map<String, Object> map);
}
